﻿@model MediaAdmin.Controllers.LocatorController.PlayModel

@{
    ViewBag.Title = "HLS asset player";
}

<h3>HLS player</h3>

<div id="player">You need Flash to play these tests</div>
@*@Url.Content(Model.StreamingUrl)*@
@section scripts
{    
    
    <script type="text/javascript" src="@Url.Content("~/Content/jw-assets6b2/jwplayer.js")"></script>

    <script type="text/javascript">
        jwplayer("player").setup({
            file: 'http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8',
            image: 'http://skill.blob.core.windows.net/asset-5670bfb2-8c5a-4ac6-8123-ce49e32d7279/photoshop-original_00.00.08.5000000.jpg?st=2012-10-08T10%3A30%3A43Z&se=2012-10-09T10%3A30%3A43Z&sr=c&si=36bc3be5-c7a7-4807-a9f9-8a77f6eb38aa&sig=DtkTgycNcX%2BHMAOpRPlVodmeimJbi1iJUII85gQs3to%3D',
        height: 400,
        width: 640
    });
    </script>

@*http://developer.longtailvideo.com/trac/browser/branches/adaptive/doc/guides/embedding.rst?rev=1601*@

}
